package com.yupi.springbootinit.service.impl.search;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yupi.springbootinit.enums.SearchKeyWord;
import org.springframework.stereotype.Service;

import java.io.Serializable;

@Service
public interface SearchService<T extends Serializable> {

	Page<T> doSearch(String searchText, int pageSize, int pageNo);

	SearchKeyWord getSearchKeyWord();
}
